package net.maiworld.myshop.web.admin.service;

import net.maiworld.myshop.domain.TbUser;

import java.util.List;

public interface TbUserService {
    /**
     * 查询全部用户信息
     * @return
     */
    public List<TbUser> selectAll();

    public void insert(TbUser tbUser);

    public void delete(Long id);

    public TbUser getById(Long id);

    public void update(TbUser tbUser);

    public List<TbUser> selectByUsername(String username);
}
